package com.hoyo.service;

import java.util.List;
import java.util.Set;

import com.hoyo.domain.ModuleInfo;

public interface ModuleService {
	/**
	 * 获取角色模块
	 * @param userId
	 * @return
	 */
	List<ModuleInfo> findModuleByUserId(int userId)throws Exception;
	
	Set<String> findRolesByAccount(String account) throws Exception;
	
	List<ModuleInfo> findAllModules()throws Exception;
}
